MKDIR=mkdir
CP=cp
CCADMIN=CCadmin
RANLIB=ranlib
LDLIBSOPTIONS= -L/C/SFML-1.6/lib -lsfml-graphics -lsfml-window -lsfml-system
COMPILEOPTIONS= -I/C/SFML-1.6/include
compiler = g++
objects = main.o Entities.o Utils.o Collision.o Manager.o ConfigFile.o
UndeadDebacle: $(objects)
	$(compiler) -o UndeadDebacle $(objects) $(LDLIBSOPTIONS)
	
main.o: main.cpp Entities.h Utils.h Collision.h Manager.h
	$(compiler) $(COMPILEOPTIONS) -c main.cpp

Entities.o: Entities.cpp Entities.h Utils.h Collision.h Manager.h
	$(compiler) $(COMPILEOPTIONS) -c Entities.cpp

Utils.o: Utils.cpp Utils.h
	$(compiler) $(COMPILEOPTIONS) -c Utils.cpp

Collision.o: Collision.cpp Collision.h
	$(compiler) $(COMPILEOPTIONS) -c Collision.cpp

Manager.o: Manager.cpp Manager.h Entities.h Utils.h
	$(compiler) $(COMPILEOPTIONS) -c Manager.cpp

ConfigFile.o: ConfigFile.cpp ConfigFile.h
	$(compiler) $(COMPILEOPTIONS) -c ConfigFile.cpp

clean:
	rm $(objects) UndeadDebacle
